<div id="<*$controller*>">
<form action="/<*$controller*>/opparents/page/<*$page*>" method="post" class="form-horizontal">
 
      <div class="control-group">
	  <label class="control-label" for="<*$key*>">登陆账号</label>
     <div class="controls">
     <*$result.username*> 
     <input type="hidden" name="username" value="<*$result.username*>" class="input-xlarge" id="<*$key*>" placeholder="输入内容" />  
       </div>
	   </div>
       
      <div class="control-group">
	  <label class="control-label" for="<*$key*>">登陆密码</label>
     <div class="controls">
        <*$result.password*>
     <input type="hidden" name="password" value="<*$result.password*>" class="input-xlarge" id="<*$key*>" placeholder="输入内容" />  
      <a   role="button" class="btn" data-toggle="modal" onclick="javascript:resetpassword(<*$result.pid*>)"><i class="icon-pencil"> </i> 初始化密码</a> <span>密码初始化为"111111"</span>
       </div>
	   </div>  
   <div class="control-group">
	  <label class="control-label" for="<*$key*>">名称</label>
     <div class="controls">
     <input type="text" name="realname" value="<*$result.realname*>" class="input-xlarge" id="<*$key*>" placeholder="输入内容" /> <label class="help-inline"><i class="icon-edit"></i> <*$key*></label>
       </div>
	   </div> 
  
   <div class="control-group">
	  <label class="control-label" for="<*$key*>">电话</label>
     <div class="controls">
     <input type="text" name="mobile" value="<*$result.mobile*>" class="input-xlarge" id="<*$key*>" placeholder="输入内容" /> <label class="help-inline"><i class="icon-edit"></i> <*$key*></label>
       </div>
	   </div>  
   
<!-- <div class="control-group">
        <label class="control-label" >是否接受推送</label>
        <div class="controls">
         <label class="radio inline">
       		 <input type="radio" name="canpull" id="canpull"   value="1"  <*if $result.canpull eq 1*> checked <*/if*>> 可以
        </label>  
         <label class="radio inline">
       		 <input type="radio" name="canpull" id="canpull2"  value="0"  <*if $result.canpull eq 0*> checked <*/if*>> 不可以
        </label>  
        </div>
      </div>-->
  <div class="control-group">
          <div class="controls">
            <input  type="hidden" value="<*$result.pid*>" name="pid" />
			<button type="submit" class="btn btn-primary btn-large">修改</button>&nbsp;&nbsp;<button type="button" class="btn  btn-large" onclick="history.back()">返回</button> 
            <!--onclick="window.location='/<*$controller*>/parents/id/<*$result.pid*>/page/<*$page*>'"-->
            
		   </div>
		</div>
  </fieldset>


</form>

</div>
<script type="text/javascript">
  
function resetpassword(id)
{ 
   
   window.location='/<*$controller*>/resetpassword/id/'+id;
}
</script>